//
//  Project_API.h
//  New_Runway
//
//  Created by mack on 2018/1/23.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#ifndef Project_API_h
#define Project_API_h

#define LoginApi @"/controller/Login"//登录
#define autoPictureApi @"/controller/getRotationList" //轮播图
#define publicNoticeApi @"/controller/getNoticeList" //公告
#define publicNoticeDetailApi @"/controller/getNoticeList"//公告详情
#define carListsApi @"/controller/getCarList"//车辆列表
#define carDeleteApi @"/controller/car/deleteCar"//删除车辆
#define subscribeCarLisrApi @"/controller/car/getCarListByCarSelectTemplate"//订阅车源
#define carDetailApi @"/controller/getCarById"//车辆详情基本信息
#define carConfApi @"/controller/getCarConfById" //车辆详情配置信息
#define carOtherConfApi @"/controller/carBase/getCarBaseParam"//车辆其他配置信息选择（如：外观颜色）
#define getCarConfigApi @"/controller/getModelInfoById"//获取车辆配置
#define getCarInfoByVinApi @"/controller/model/getModelInfoByVin"//vin码获取车辆信息
#define carRefuseApi @"/controller/carLog/getCarLogList"//驳回原因
//收藏
#define collectionCarApi @"/controller/carFavorite/insertCarFavorite"//收藏
#define cancelCollectionCarApi @"/controller/carFavorite/deleteCarFavorite"//取消收藏
#define collectionCarListApi @"/controller/carFavorite/getCarFavoriteList"//收藏列表
#define isCollectionApi @"/controller/carFavorite/getCarFavorite"//查看单个车辆收藏信息

#define staffInfoApi @"/controller/getUserList"//员工列表
#define customersApi @"/controller/sysParam/channel-list"//客户来源
#define safrCompanyApi @"/controller/sysParam/insurance-list"//保险公司
#define previnceApi @"/controller/area/province"//获取省列表
#define cityApi @"/controller/area/city"//获取市列表
#define mortgageApi @"/controller/sysParam/mortgage-list"//按揭公司

#define updataCarApi @"/controller/car/updateCar"//修改车辆信息
#define editCarStateApi  @"/controller/car/updateCarState"//修改车辆状态
#define carRevocationStockApi @"/controller/carRevocation/carRevocationStock"//撤销申请
#define addOrderApi @"/controller/insertCarOrder"//新增预订信息
#define outLibaryApi @"/controller/insertCarSale" //销售出库
#define putONApi   @"/controller/car/toStorage" //入库申请

#define marketListApi @"/controller/getRegionList"//市场区域列表
#define allMarketListApi @"/controller/getMarketList"//市场列表
#define shopListApi @"/controller/getShopList"//获取商铺
#define carBrandApi @"/controller/getGroupBrand"//获取车品牌
#define carSeriesApi @"/controller/getSeriesList"//获取车系
#define CarModelApi @"/controller/getModelList"//获取车型号
#define ColorApi @"/controller/getColorList"//车身颜色
#define carTypeApi @"/controller/getCarTypeList"//车身类型

#define updataCarInfoApi @"/controller/car/updateCar"//修改车辆信息
#define uploadImageApi @"/controller/uploadCarImage"//上传图片
#define getCarCongApi @"/controller/getCarConfById"//查询车辆配置

#define updataUserApi @"/controller/updateUser"//修改用户信息
#define updataPWDApi @"/controller/updatePwd"//修改密码

#define insertCarApi @"/controller/insertCar"//插入车辆
#define addStaffApi @"/controller/insertUser"//新增员工、用户
#define updateStaffApi @"/controller/updateUser"//更新用户
#define  DataApi @"/controller/statis/app/getCarStorageOutline"//数据统计
#define DayDataApi @"/controller/statis/app/getCarStorageDay"//日数据统计
#define DaySalceApi @"/controller/resForApp/countFollowOutline"//日销售统计
#define BrandRankApi @"/controller/statis/app/getStorageBrandRank"//查询库存品牌排行
#define AgeRankApi @"/controller/statis/app/getStorageStockAgeRank"//查询库存库龄排行
#define SeriesRankApi @"/controller/statis/app/getStorageSeriesRank"//查询库存车系排行
#define CarAgeRankApi @"/controller/statis/app/getStorageCarAgeRank"//查询库存车龄排行
#define carStateApi @"/controller/getCarStatisList"//出库在库预定列表

#define followCarApi @"/controller/customer/getCustomerByCar"//关注车或车系的客户列表
#define  followCarPriceApi @"/controller/customer/getCustomerSimilarPrice"//关注同价位客户
#define  customerInfoApi @"/controller/customer/getCustomerInfo"//客户详情
#define  customerEditRemarkApi @"/controller/customer/updateCustomerRemark"//修改客户备注

#define checkListApi @"/controller/app/getDetectionList"//检测未检测列表
#define checkReportApi @"/controller/app/uploadResult"//上传检测报告
#define customerLevelApi @"/controller/sysParam/customerLevel-list"//客户级别
#define customerListApi @"/controller/resForApp/customerInfoList"//客户列表
#define allocteCustomerApi @"/controller/customer/allocate"//分配客户
#define updaAPPApi @"/controller/getApk"//是否跟新app
//通讯录
#define mailListApi @"/controller/resForApp/phoneRecordList"//通讯录列表
#define mailUpdateApi @"/controller/resForApp/updatePhoneRecord"//更新通讯录
#define mailDeleteApi @"/controller/resForApp/deletePhoneRecord"//通信录删除
#define mailInitApi @"/controller/resForApp/insertPhoneRecord"//新建联系人
#define noDealNumApi @"/controller/resForApp/bashboard"//工作台未处理数
#define carManagerNumApi @"/controller/car/getCarNumInfo"//工作台车辆数量

#define UserInfoApi @"/controller/getUserById"//用户详情
#define feedBackApi @"/controller/feedback/insertFeedback"//用户反馈

#define DataCrmValueApi @"/controller/resForApp/countFollowInfo"//数据统计crm结构
#define DataCrmDetailApi @"/controller/resForApp/countFollowInfoList"//数据统计crm明细

/**< 用户意向详情 */
#define customerDetailAPI @"/controller/resForApp/getCustomerModelList"
///**< 客户来源 */
//#define customerChannelAPI @"/controller/sysParam/channel-list"
/**
 客户等级
 @return 客户等级
 */
//#define customerLevelAPI @"/controller/sysParam/customerLevel-list"

/**
 添加意向

 @return 添加意向
 */
#define addIntentionAPI @"/controller/customer/insertIntention"
/**
 跟进

 @return 跟进
 */
#define followAPI @"/controller/customer/insertFollowInfo"

/**
 更新客户信息

 @return 更新客户信息
 */
#define updateCustomerInfo @"/controller/customer/updateCustomer"

/**
 新增客户

 @return 新增客户
 */
#define addCustomerInfo @"/controller/customer/insertCustomer"

/**
 编辑页面获取客户详情

 @return 编辑页面获取客户详情
 */
#define getCustomerInfo @"/controller/customer/list"

/**
 跟进历史

 @return 跟进历史
 */
#define getFollowHistory @"/controller/customer/followHistory"

/**
 获取车龄区间

 @return 获取车龄区间
 */
#define getCarAgeList @"/controller/carAge/getCarAgeList"

/**
 获取里程区间

 @return 获取里程区间
 */
#define getCarMileageList @"/controller/carMileage/getCarMileageList"

/**
 查询车辆订阅的列表

 @return 查询车辆订阅的列表
 */
#define getCarSelectTemplateList @"/controller/carSelectTemplate/getCarSelectTemplateList"

/**
 新增车辆订阅

 @return 新增车辆订阅
 */
#define insertCarSelectTemplate @"/controller/carSelectTemplate/insertCarSelectTemplate"

/**< 客户添加意向添加车辆列表(新) */
#define crmIntentionCars @"/controller/follow/crmIntentionCars"
/**< 初检车辆列表 */
#define getCarFirstDetectList @"/controller/car/getCarFirstDetectList"
/**< 修改车辆状态 */
#define updateCarState @"/controller/car/updateCarState"
/**< 获取验证码 */
#define getSmsValidateCode @"/controller/getSmsValidateCode"
/**< 找回验证码 */
#define findPwd @"/controller/findPwd"
/**< 合作 */
#define insertCooperation @"/controller/cooperation/insertCooperation"
//市场二维码
#define MarketCodeApi @"/controller/account/selectWxQrCode"
//分享列表
#define ShareListApi @"/controller/shareTemplate/insertShareTemplate"
//车300获取估值
#define car300ValueApi @"/controller/che300/getChe300CarPrice"

#endif /* Project_API_h */
